<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<input type="checkbox" id="test"  name="xfz" />
	</body>
	<script type="text/javascript">
		// 非布尔值属性   attribute&prototype之间会实现同步

		var testNode  =document.querySelector("#test");
		debugger
        testNode.checked=false
		testNode.setAttribute("checked","checked")
		// testNode.checked="checked"

	</script>
</html>
